package com.ztgf.order.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-06-03 16:28
 * Description: 订单创建商品数据bo
 */
@Data
public class OrderItemBO implements Serializable {
    @ApiModelProperty(value = "商品id")
    private Long commodityId;
    @ApiModelProperty(value = "规格属性id")
    private String atrrId;
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
    @ApiModelProperty(value = "商品数量")
    private Integer num;
    @ApiModelProperty(value = "商品金额")
    private BigDecimal moeny;
    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountMoney;
    @ApiModelProperty(value = "实付金额")
    private BigDecimal actualMoney;
    @ApiModelProperty(value = "折扣方式 0不享受，1批发、2会员")
    private Integer discountType;
    @ApiModelProperty(value = "税率 除以100")
    private Integer taxRate;
}
